"use strict";

Object.defineProperty(exports, "__esModule", {
    value: true
});
var mapLoop = exports.mapLoop = function mapLoop(n, fn) {
    var rst = [];
    for (var i = 0; i < n; i++) {
        rst.push(fn.call(this, i, i));
    }
    return rst;
};
exports.default = mapLoop;